package game.metalmax.packet.world {

	import flash.utils.ByteArray;
	
	import game.metalmax.packet.IPacket;

//调查物品请求
public class ActionItemRequest implements IPacket{

	//地图ID
	public var mapID:String;
	//物品ID
	public var itemID:String;

	public function write(out:ByteArray):void{
		var len:int = 0;
		var i:int = 0;
		out.writeUTF(mapID==null?"":mapID);
		out.writeUTF(itemID==null?"":itemID);
	}
	public function read(inn:ByteArray):void{
		var len:int = 0;
		var i:int = 0;
		mapID = inn.readUTF();
		itemID = inn.readUTF();
}
}
}